package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfSpeakerDao;
import com.wfcm.entity.WfSpeakerEntity;
import com.wfcm.service.WfSpeakerService;



@Service("wfSpeakerService")
public class WfSpeakerServiceImpl implements WfSpeakerService {
	@Autowired
	private WfSpeakerDao wfSpeakerDao;
	
	@Override
	public WfSpeakerEntity queryObject(Integer id){
		return wfSpeakerDao.queryObject(id);
	}
	
	@Override
	public List<WfSpeakerEntity> queryList(Map<String, Object> map){
		return wfSpeakerDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfSpeakerDao.queryTotal(map);
	}
	
	@Override
	public void save(WfSpeakerEntity wfSpeaker){
		wfSpeakerDao.save(wfSpeaker);
	}
	
	@Override
	public void update(WfSpeakerEntity wfSpeaker){
		wfSpeakerDao.update(wfSpeaker);
	}
	
	@Override
	public void delete(Integer id){
		wfSpeakerDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfSpeakerDao.deleteBatch(ids);
	}
	
}
